package com.taiji.message.domain;

import com.taiji.common.annotation.Excel;
import com.taiji.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 工单消息对象 order_warn
 * 
 * @author a22999
 * @date 2023-06-21
 */
public class OrderWarn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 项目代码 */
    @Excel(name = "项目代码")
    private String projectCode;

    /** 工单id */
    @Excel(name = "工单id")
    private String orderId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 信息类型 */
    @Excel(name = "信息类型")
    private String type;

    /** 消息内容 */
    @Excel(name = "消息内容")
    private String contents;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    @Excel(name = "变更条数")
    private Integer changeNumber;

    public Integer getChangeNumber() {
        return changeNumber;
    }

    public void setChangeNumber(Integer changeNumber) {
        this.changeNumber = changeNumber;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setProjectCode(String projectCode) 
    {
        this.projectCode = projectCode;
    }

    public String getProjectCode() 
    {
        return projectCode;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setContents(String contents) 
    {
        this.contents = contents;
    }

    public String getContents() 
    {
        return contents;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectCode", getProjectCode())
            .append("orderId", getOrderId())
            .append("title", getTitle())
            .append("type", getType())
            .append("contents", getContents())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
